package com.xydpeng.rpc.registry;

import com.xydpeng.rpc.common.InstanceMeta;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2023/4/8
 * @description:
 */
public interface RegistryService {

    void register(InstanceMeta instanceMeta) throws Exception;

    void unRegister(InstanceMeta instanceMeta) throws Exception;

    void subscribe(InstanceMeta instanceMeta, NotifyListener listener);

    void unsubscribe(InstanceMeta instanceMeta, NotifyListener listener);




}
